package com.fish.anne.service.impl;

import com.fish.anne.dao.SystemActionDao;
import com.fish.anne.model.SystemAction;
import com.fish.anne.service.SystemActionManager;
import com.fish.anne.service.impl.GenericManagerImpl;

import java.util.List;
import javax.jws.WebService;

@WebService(serviceName = "SystemActionService", endpointInterface = "com.fish.anne.service.SystemActionManager")
public class SystemActionManagerImpl extends GenericManagerImpl<SystemAction, Long> implements SystemActionManager {
    SystemActionDao systemActionDao;

    public SystemActionManagerImpl(SystemActionDao systemActionDao) {
        super(systemActionDao);
        this.systemActionDao = systemActionDao;
    }

	public List<SystemAction> findAvailableActionByAdminId(Long adminUserId) {
		return systemActionDao.findAvailableActionByAdminId(adminUserId);
	}
}